package com.lyy.photovoltaic.service;

import com.lyy.photovoltaic.beans.Users;
import com.lyy.photovoltaic.common.vo.ResultVO;
import org.springframework.stereotype.Service;

public interface UserService {
    //用户登录验证时的数据流
    public ResultVO checkLogin(String uId, String pwd);

    //用户注册
    public ResultVO userRegist(String uId, String pwd);

    //修改密码时，查询输入的旧密码是否正确并修改密码
    public ResultVO updatePassword(String uId,String originPwd,String newPwd);

}
